﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Dreamer Blog - 后台管理系统</title> 
    <!-- bootstrap 3.0.2 -->
    <link href="/resource/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- font Awesome -->
    <link href="/resource/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Ionicons -->
    <link href="/resource/css/ionicons.min.css" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="/resource/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div class="row">
	    <div class="col-md-12">
	    	<h1 class="panel-heading">仪表盘</h1>
	        <!--breadcrumbs start -->
	        <ul class="breadcrumb">
				<li><a href="/admin/dashboard/toIndex"><i class="fa fa-home"></i> 首页</a></li>
				<li class="active">仪表盘</li>
			</ul>
	        <!--breadcrumbs end -->
	    </div>
	</div>
	<div class="row">
		<div class="col-lg-12">
			<section class="panel">
				<div class="panel-body">
					<div class="row" style="margin-bottom:5px;">
						<div class="col-md-12">
						欢迎使用</b>
						</div>
					</div>
				</div>
			</section>
			<section class="panel">
				<div class="panel-heading dashboard-title">信息统计</div>
				<div class="panel-body">
					<div class="row" style="margin-bottom:5px;">
                        <div class="col-md-3">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-red"><i class="fa fa-file-text-o"></i></span>
                                <div class="sm-st-info">
                                    <span th:text="${statistics.artCnt}"></span>
                                    文章数量
                                </div>
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-violet"><i class="fa fa-folder-open-o"></i></span>
                                <div class="sm-st-info">
                                    <span th:text="${statistics.catCnt}"></span>
                                    栏目数量
                                </div>
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-tags"></i></span>
                                <div class="sm-st-info">
                                    <span th:text="${statistics.tagCnt}"></span>
                                    标签数量
                                </div>
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-check-square-o"></i></span>
                                <div class="sm-st-info">
                                    <span th:text="${statistics.formCnt}"></span>
                                    表单数量
                                </div>
                            </div>
                        </div>
                    </div>
				</div>
			</section>
<!--			<section class="panel">
				<div class="panel-heading dashboard-title">
					版本信息及商业授权
				</div>
				<div class="panel-body">
					<div class="row" style="margin-bottom:5px;">
						<div class="col-md-12">
							<div class="fl" style="padding: 30px 30px 30px 0;">
								<img alt="梦想家CMS内容管理系统" src="/resource/img/dreamercms-logo.png" width="100">
							</div>
							<div class="fl" style="margin-left:10px;">
								<b>当前系统版本为开源版V3.5.1</b>
								<ul style="line-height: 25px;margin-top: 10px;">
									<li>开发管理系统全局搜索功能</li>
									<li>使用最新Logo图片</li>
									<li>优化Sql标签只支持查询</li>
									<li>修复Shiro硬编码反序列化漏洞</li>
									<li>修复其它已知Bug</li>
								</ul>
								<b>根据软件使用协议，未经商业授权的系统请务必保留官方版权。前后台页底必须保留 "Powered by I Tech You , 我教你!" 文字和链接！</b>
							</div>
							<div class="clearFix"></div>
						</div>
					</div>
				</div>
			</section>-->
			<div class="row" style="margin-bottom:5px;">
				<div class="col-md-6">
					<section class="panel">
						<div class="panel-heading dashboard-title">最新文章</div>
						<div class="panel-body" style="height: 300px;">
							<ul class="newest">
								<li th:each="item : ${newest}">
									<a th:text="${item.title}" target="_blank" th:title="${item.title}" th:href="'/article/' + ${item.id}"></a>
								</li>
							</ul>
						</div>
					</section>
				</div>
				<!--<div class="col-md-4">
					<section class="panel">
						<div class="panel-heading dashboard-title">开发团队</div>
						<div class="panel-body" style="height: 300px;">
							<p>版权所有：<b><a href="http://www.itechyou.cn" target="_blank" title="I Tech You,我教你！">I Tech You , 我教你!</a></b></p>
							<p>开发团队成员：<b>王俊南</b></p>
							<p>官方网址：<b><a href="http://www.itechyou.cn" target="_blank" title="I Tech You,我教你！">http://www.itechyou.cn</a></b></p>
							<p>官方演示网址：<b><a href="http://cms.itechyou.cn" target="_blank" title="梦想家CMS内容管理系统">http://cms.itechyou.cn</a></b></p>
							<p>码云源码网址：<b><a href="https://gitee.com/isoftforce/dreamer_cms" target="_blank" title="梦想家CMS内容管理系统">https://gitee.com/isoftforce/dreamer_cms</a></b></p>
							<p>Github源码网址：<b><a href="https://github.com/xinhudong/dreamer_cms" target="_blank" title="梦想家CMS内容管理系统">https://github.com/xinhudong/dreamer_cms</a></b></p>
							<p>官方QQ群：<b>①597652651</b>、<b>②623605199</b></p>
						</div>
					</section>
				</div>-->
				<div class="col-md-6">
					<section class="panel">
						<div class="panel-heading dashboard-title">服务器信息</div>
						<div class="panel-body" style="height: 300px;">
							<p>JVM名称：<b th:text="${serverInfo.jvmName}"></b></p>
							<p>JAVA版本：<b th:text="${serverInfo.jreVersion}"></b></p>
							<p>JAVA安装路径：<b th:text="${serverInfo.javaPath}"></b></p>
							<p>JVM总内存：<b th:text="${serverInfo.jvmTotalMemory}"></b></p>
							<p>JVM总内存：<b th:text="${serverInfo.jvmFreeMemory}"></b></p>
							<p>操作系统名称：<b th:text="${serverInfo.optName}"></b></p>
							<p>操作系统架构：<b th:text="${serverInfo.optFrameWork}"></b></p>
							<p>数据库版本：<b th:text="${serverInfo.dbVersion}"></b></p>
						</div>
					</section>
				</div>
			</div>
		</div>
	</div>
	<script src="/resource/js/jquery.min.js" type="text/javascript"></script>
	<!-- Bootstrap -->
	<script src="/resource/js/bootstrap.min.js" type="text/javascript"></script>    
    <script type="text/javascript">
    </script>
</body>
</html>
